package domain

import (
	"gitee.com/cjsn/topsdk/util"
)

type TmallServicecenterWorkcardLogisticsorderQueryExpressDto struct {
	/*
	   物品信息明细 字符串格式为：json 串 例子： [{ "name": "大衣,毛衣", "count": 1 }, { "name": "裤子", "count": 2 }]     */
	GoodsInfo *string `json:"goods_info,omitempty" `

	/*
	   子物流单号     */
	SubMailNos *[]string `json:"sub_mail_nos,omitempty" `

	/*
	   物流单号     */
	MailNo *string `json:"mail_no,omitempty" `

	/*
	   寄件人信息     */
	Sender *TmallServicecenterWorkcardLogisticsorderQueryCustomerInfo `json:"sender,omitempty" `

	/*
	   收件人信息     */
	Receiver *TmallServicecenterWorkcardLogisticsorderQueryCustomerInfo `json:"receiver,omitempty" `

	/*
	   物流单号     */
	LogisticsOrderId *int64 `json:"logistics_order_id,omitempty" `

	/*
	   预约开始时间     */
	ReserveEndTime *util.LocalTime `json:"reserve_end_time,omitempty" `

	/*
	   预约结束时间     */
	ReserveStartTime *util.LocalTime `json:"reserve_start_time,omitempty" `

	/*
	   物流创建 ：create 物流取消 ：cancel 分派小件员：assign 已经分派小件员: assigned 包裹上门揽收: pickup_door 包裹已揽收完成: pickup_finished 包裹派送中: dispatching 包裹已签收: signed     */
	StatusCode *string `json:"status_code,omitempty" `

	/*
	   luxury（奢饰商品）/common（普通商品）     */
	GoodsType *string `json:"goods_type,omitempty" `

	/*
	   增值服务需求     */
	ValueAddedServiceDemand *string `json:"value_added_service_demand,omitempty" `

	/*
	   扩展属性     */
	ExtendInfo *string `json:"extend_info,omitempty" `
}

func (s *TmallServicecenterWorkcardLogisticsorderQueryExpressDto) SetGoodsInfo(v string) *TmallServicecenterWorkcardLogisticsorderQueryExpressDto {
	s.GoodsInfo = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsorderQueryExpressDto) SetSubMailNos(v []string) *TmallServicecenterWorkcardLogisticsorderQueryExpressDto {
	s.SubMailNos = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsorderQueryExpressDto) SetMailNo(v string) *TmallServicecenterWorkcardLogisticsorderQueryExpressDto {
	s.MailNo = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsorderQueryExpressDto) SetSender(v TmallServicecenterWorkcardLogisticsorderQueryCustomerInfo) *TmallServicecenterWorkcardLogisticsorderQueryExpressDto {
	s.Sender = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsorderQueryExpressDto) SetReceiver(v TmallServicecenterWorkcardLogisticsorderQueryCustomerInfo) *TmallServicecenterWorkcardLogisticsorderQueryExpressDto {
	s.Receiver = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsorderQueryExpressDto) SetLogisticsOrderId(v int64) *TmallServicecenterWorkcardLogisticsorderQueryExpressDto {
	s.LogisticsOrderId = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsorderQueryExpressDto) SetReserveEndTime(v util.LocalTime) *TmallServicecenterWorkcardLogisticsorderQueryExpressDto {
	s.ReserveEndTime = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsorderQueryExpressDto) SetReserveStartTime(v util.LocalTime) *TmallServicecenterWorkcardLogisticsorderQueryExpressDto {
	s.ReserveStartTime = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsorderQueryExpressDto) SetStatusCode(v string) *TmallServicecenterWorkcardLogisticsorderQueryExpressDto {
	s.StatusCode = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsorderQueryExpressDto) SetGoodsType(v string) *TmallServicecenterWorkcardLogisticsorderQueryExpressDto {
	s.GoodsType = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsorderQueryExpressDto) SetValueAddedServiceDemand(v string) *TmallServicecenterWorkcardLogisticsorderQueryExpressDto {
	s.ValueAddedServiceDemand = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsorderQueryExpressDto) SetExtendInfo(v string) *TmallServicecenterWorkcardLogisticsorderQueryExpressDto {
	s.ExtendInfo = &v
	return s
}
